package cate.common.table.trademall.oncefund;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "交易坊-一次性基金奖励 Row")
public class OnceFundItemRow extends ERow {
    @NoteField(value = "基金类型")
    public int fundType;
    @NoteField(value = "检测操作")
    public int checkCondition;
    @NoteField(value = "目标值")
    public int needValue;
    @NoteField(value = "奖励")
    public String rewardStr;
    @NoteField(value = "期数")
    public int fundGroup;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        id = xrw.getInteger("ID");
        checkCondition = xrw.getInteger("检测操作");
        fundType = xrw.getInteger("基金类型");
        needValue = xrw.getInteger("目标值");
        rewardStr = xrw.getString("奖励");
        fundGroup = xrw.getInteger("期数");
    }
}
